/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pcs.Lista02.Exercicio02;

import java.util.Scanner;

/**
 *
 * @author Daniel
 */
public class Exerc02 {
    public static void main(String[] args) {
        
        String [] numPorExtenso =   {"zero", "um", "dois", "tres", "quatro", "cinco",
                                     "Seis", "sete", "oito", "nove"};
        
        Scanner input = new Scanner (System.in);
        
        System.out.println("Entre com um numero");
        String numero = input.nextLine();
        
        for(int i=0; i<numero.length(); i++) {
            System.out.print(numPorExtenso[numero.charAt(i) - '0'] + " " );
            
        }
            
        
        
    }
    
}
